#ifndef _DRV_ALARM_LOG_
#define _DRV_ALARM_LOG_
#include "stdint.h"
#include "stdlib.h"
#include "string.h"
#include "drv_calib.h"
#define MSK	0X80
#define DEVICE_ADD_S	0X17000000
#define RESP(X)	(MSK+(X))
#define Juge(x)	(0xf0&(x))
#define Unpack(x)		(0x0f&(x))
void sensor_init(void);
void sensor_loop(void);
void drv_sensor_RWreg(uint8_t *dat);
void drv_transmit(void);
void drv_get_recoder_init(void);
void drv_device_status_det(void);
void drv_device_loop(void);
#endif